package com.shared.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.io.Serializable;

/**
 * (PUser)实体类
 *
 * @author makejava
 * @since 2020-06-29 19:30:21
 */
@ApiModel(value = "PUser", description = "用户")
public class PUser implements Serializable {
    private static final long serialVersionUID = 692137286657744897L;
    @ApiModelProperty(value = "[自动增长]主键id")
    private Object id;
    /**
     * 头像
     */
    @ApiModelProperty(value = "[必填]头像")
    private String portrait;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "[必填]手机号")
    private String phone;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "[必填]昵称")
    private String name;
    /**
     * 生日
     */
    @ApiModelProperty(value = "[必填]生日")
    private Date birthday;
    /**
     * 性别；0->男；1->女
     */
    @ApiModelProperty(value = "[必填]性别：男，女")
    private String sex;
    /**
     * 地区
     */
    @ApiModelProperty(value = "[必填]地区")
    private String address;
    @ApiModelProperty(value = "[必填]个性签名")
    private String autograph;


    public Object getId() {
        return id;
    }

    public void setId(Object id) {
        this.id = id;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAutograph() {
        return autograph;
    }

    public void setAutograph(String autograph) {
        this.autograph = autograph;
    }

}